<template>
  <div>
    <h1>嵌套路由</h1>
    <router-link to="/home" style="padding-left: 10px">主页</router-link>
    <router-link to="/news" style="padding-left: 10px">新闻</router-link>
    <router-link to="/pe" style="padding-left: 10px">体育</router-link>

    <br />
    <br />
    <router-view></router-view>
  </div>
</template>

<script>
export default {};
</script>

<style>
</style>